Skip to content

Upgrade actions and modify Slack notification setup#3504

Merged
adguard merged 3 commits into
AdguardTeam:masterfrom
rakleed:patch-1
Apr 30, 2026
Merged

Upgrade actions and modify Slack notification setup#3504
adguard merged 3 commits into
AdguardTeam:masterfrom
rakleed:patch-1

Conversation

@rakleed
Copy link
Copy Markdown
Contributor

@rakleed rakleed commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions workflow to address CI annotation warnings by upgrading action dependencies and replacing an unmaintained Slack notification action with Slack’s official GitHub Action.

Changes:

  • Bump core CI actions versions (checkout, setup-node, pnpm/action-setup).
  • Replace 8398a7/action-slack with slackapi/slack-github-action and provide a custom incoming-webhook payload.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

value: "<${{ github.server_url }}/${{ github.repository }}|${{ github.repository }}>"
short: true
- title: "Message"
value: "${{ github.event.head_commit.message }}"
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

github.event.head_commit.message is only populated for certain events (notably push). If this workflow is later extended to workflow_dispatch/pull_request, this field will be empty and the Slack message will lose the commit context. Consider using a fallback (e.g. PR title for PR events, or github.sha) so the notification always has a useful message.

Suggested change
value: "${{ github.event.head_commit.message }}"
value: "${{ github.event.head_commit.message || github.event.pull_request.title || github.sha }}"

Copilot uses AI. Check for mistakes.
@adguard adguard merged commit dd3d632 into AdguardTeam:master Apr 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants